package com.homework.Demo6_14.Work2.h3;

public class Animal {
    public String name;
    public  int legs;
    public int count;

    public String getKing() {
        return name;
    }

    public void setKing(String name) {
        this.name = name;
    }

    public int getLegs() {
        return legs;
    }

    public void setLegs(int legs) {
        this.legs = legs;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
